package com.fdb.efp.nls.service.facade;

import com.fdb.efp.nls.service.vo.RscWarnAccLoanVO;

import java.io.File;
import java.util.List;


/**
 * <p>Description:业务数据信息表				<p>
 * @author chenqm1
 * @date 2018-05-30
 */
public interface RscWarnAccLoanService {
	
	public List<RscWarnAccLoanVO> queryAllOwner(RscWarnAccLoanVO rscWarnAccLoanVo);
	
	public int insertRscWarnAccLoan(RscWarnAccLoanVO inRscWarnAccLoanVo);
	
	public int deleteByPk(RscWarnAccLoanVO rscWarnAccLoanVo);
	
	public int updateByPk(RscWarnAccLoanVO rscWarnAccLoanVo);
	
	public RscWarnAccLoanVO queryByPk(RscWarnAccLoanVO rscWarnAccLoanVo);
	
	public void fileDataInsertTable(File file, RscWarnAccLoanVO clazz, String operation);
	/**
	 * 客户是否存在逾期行内记录
	 * @param rscWarnAccLoanVo
	 * @return 存在：true，不存在：false
	 */
	public boolean isExistOverdue(RscWarnAccLoanVO rscWarnAccLoanVo);
	/**
	 * 借据最新逾期信息
	 * @param rscWarnAccLoanVo
	 * @return 
	 */
	public RscWarnAccLoanVO queryBybillNo(RscWarnAccLoanVO rscWarnAcc);
}
